package cn.kgc.springboot.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author mosin
 * date 2021/12/13
 * @version 1.0
 */

@AllArgsConstructor
@NoArgsConstructor
public class Student {

    private String  stuName;
    private  Integer age;
    private Date birth;

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }

    public String getName(){
        return this.stuName;
    }

    public Integer getAge(){
        return this.age;
    }

    public void setStuName(String stuName){
        this.stuName = stuName;
    }

    public void setAge(Integer age){
        this.age = age;
    }
}
